package org.dromara.pe.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.pe.domain.Achievement;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 体测成绩管理业务对象 phy_pe_achievement
 *
 * @author Lion Li
 * @date 2024-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Achievement.class, reverseConvertGenerate = false)
public class AchievementBo extends BaseEntity {

    /**
     * 逻辑主键
     */
    @NotNull(message = "逻辑主键不能为空", groups = { EditGroup.class })
    private Long achievementId;

    /**
     * 体测任务id
     */
    private Long taskId;
    /**
     * 体测任务名称
     */
    private String taskName;
    /**
     * 入学年份
     */
    @ExcelProperty(value = "入学年份")
    private String years;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String studentName;

    /**
     * 学号
     */
    @ExcelProperty(value = "学号")
    private String stuNum;

    /**
     * 性别 0 男生  1女生
     */
    @ExcelProperty(value = "性别 0 男生  1女生")
    private String gender;

    /**
     * 年级
     */
    private String collegeName;

    /**
     * 年段
     */
    private String professionalName;
    /**
     * 班级
     */
    @ExcelProperty(value = "班级")
    private String className;


    /**
     * 身高
     */
    @ExcelProperty(value = "身高")
    private String height;

    /**
     * 体重
     */
    @ExcelProperty(value = "体重")
    private String weight;
    /**
     * 100米
     */
    private String oneHundredMeters;
    /**
     * 肺活量
     */
    @ExcelProperty(value = "肺活量")
    private String vitalCapacity;
    /**
     * 单人跳绳
     */
    private String singleSkippingRope;
    /**
     * 仰卧起坐
     */
    private String sitUps;
    /**
     * 引体向上
     */
    private String pullUps;

    /**
     * 跳远
     */
    @ExcelProperty(value = "立定跳远")
    private String standingLongJump;

    /**
     * 体前屈
     */
    @ExcelProperty(value = "体前屈")
    private String bodyFlexion;


    /**
     * 50米
     */
    @ExcelProperty(value = "50米")
    private String fiftyMeters;

    /**
     * 800米
     */
    @ExcelProperty(value = "800米")
    private String meters800;

    /**
     * 左眼视力
     */
    @ExcelProperty(value = "左眼视力")
    private String leftEyeVision;

    /**
     * 右眼视力
     */
    @ExcelProperty(value = "右眼视力")
    private String rightEyeVision;

    /**
     * 总成绩
     */
    @ExcelProperty(value = "总成绩")
    private String totalScore;

    /**
     * 等级
     */
    @ExcelProperty(value = "等级")
    private String level;

    /**
     * 状态 0 正常  1不正常
     */
    @ExcelProperty(value = "状态 0 正常  1不正常")
    private String status;

    private Date createTime;

    private Date updateTime;
    /**
     * 学期
     */
    private String semester;
    /**
     * 学年
     */
    private String academicYear;

    /**
     * 行政班级id
     */
    private Long deptId;
    /**
     * 年级id
     */

    private Long collegeId;

    /**
     * 年段id
     */
    private Long professionalId;

    /**
     * 班级id
     */
    private Long classId;

    /**
     * 年级
     */
    private String grade;


}
